package kuonjisai;

public class J25_Animal {

	private int hp;
	private int weight;
	private String color;
	
	
	public J25_Animal() { }	
	public J25_Animal( int hp, int weight, String color) {
		this.hp = hp;
		this.weight = weight;
		this.color = color;
		
	
	}
	
	
	public int getHp() {
		return hp;
	}
	public void setHp(int hp) {
		this.hp = hp;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	public String getColor() {
		return color;
	}
	public void setColor(String color) {
		this.color = color;
	}	
	
	public void eat(){
		System.out.println( "식사는 삶과 죽음의 경계이며, 저들은 먹을 것이다.");
	}
	public void cry(){ }
	
	
	
} // class
